package com.example.win.android_banduyujia.peopleactivity.activity.activity.openactivity.DataActivity;

import android.os.Bundle;
import android.view.View;

import com.example.win.android_banduyujia.R;
import com.example.win.android_banduyujia.lib.util.StrUtils;
import com.example.win.android_banduyujia.peopleactivity.ui.activity.BaseTitleBarActivity;

/**
 * Created by Win on 2015/9/30.
 */
public class ExpericenceActivity extends BaseTitleBarActivity {
    public static final String TAG = ExpericenceActivity.class.getSimpleName();


    private String   mSave = " ";

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.view_item_expericence);

        InItTitles();
        InitViews();
    }

    private void InItTitles() {
        showLeftBackButton();
        setTitle(R.string.layout_data_page_text_view_experience);
        setRightTextViewListener(R.string.layout_data_save_button, mRightListener);
    }

    private View.OnClickListener mRightListener = new View.OnClickListener(){

        @Override
        public void onClick(View v) {
           if(StrUtils.isEmpty(mSave)){
               showToast(R.string.layout_data_page_text_view_experience);
           }
            SaveButton();
        }
    };

    private void SaveButton() {

    }

    private void InitViews() {

    }
}
